<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class public_controller extends MY_Controller
{
    public $view_data = array();

    public function __construct()
    {
        parent::__construct();
    }

    public function load_view($view_path_name)
    {
        //$this->view_data['menu'] = $this->get_menu_items();
        $this->load->view('MasterPage/header',$this->view_data);
        $this->load->view($view_path_name,$this->view_data);
        $this->load->view('MasterPage/footer',$this->view_data);
    }
}